
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php


	require_once('../mysql.php');
	require_once('function_quantri.php');
	  $list_chungloai = ChungLoai();
    
   
   
        $idCL = $_POST['chungloai'];
        $TenLoai = $_POST['TenLoai'];
        $ThuTu = $_POST['ThuTu'];
         
        $result=loai_them($TenLoai, $idCL, $ThuTu);
        
        if($result)
        {    echo "Thành công";
       		 header("location:Sanpham_loai_quantri.php");
		}
        else 
            echo "Thất bại".mysql_error ();
    
?>